package com.Test0;

/**
 * @Auther: shiquan
 * @Date: 2024/10/24 - 10 - 24 -11:03
 */
public class Person {
    private int age;
    private String name;
    private char gender;

    public Person() {
    }

    public Person(int age, String name, char gender) {
        this.age = age;
        this.name = name;
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public void think(){
        System.out.println("人在思考");
    }
}
